﻿<UserControl x:Class="Mengsk.ProxyDelivery.Print.UI.PrintTemplateItemDeliveryNumberBarcodeUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Loaded="UserControl_Loaded">
    <StackPanel Orientation="Vertical">
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="条码格式:" Margin="3" VerticalAlignment="Center" Width="70"/>
            <ComboBox Name="cbbTypes" ItemsSource="{Binding Types}" SelectedItem="{Binding Path=Format,UpdateSourceTrigger=PropertyChanged}" Margin="3" VerticalAlignment="Center" HorizontalAlignment="Stretch" Width="150"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="打印文本:" Margin="3" VerticalAlignment="Center" Width="70"/>
            <ComboBox Name="cbbPrintText" SelectedItem="{Binding Path=Value1,UpdateSourceTrigger=PropertyChanged}"  Margin="3" VerticalAlignment="Center" HorizontalAlignment="Stretch" Width="150">
            </ComboBox>
        </StackPanel>
    </StackPanel>
</UserControl>
